package org.jeecg.modules.demo.test.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ValidDemoQo {
    @NotBlank(message = "请传入编码")
    @ApiModelProperty(value = "编码")
    private String code;
    @NotBlank(message = "请传入名称")
    @ApiModelProperty(value = "名称")
    private String name;
}
